//管理员端首页

package xiangmu.schoolpaper.mapper;

import org.apache.ibatis.annotations.Mapper;
import xiangmu.schoolpaper.pojo.VO.HomeEveryStudentScoreVo;
import xiangmu.schoolpaper.pojo.VO.HomeScoreStudentSumVO;
import xiangmu.schoolpaper.pojo.VO.HomeWeekVO;
import xiangmu.schoolpaper.pojo.VO.HomeOverviewVO;

import java.util.List;

@Mapper
public interface AdminHomeMapper {

    // 获取近七天论文上传数量
    List<HomeWeekVO> uploadCountOfPapersWeek();

    // 获取论文总数
    Integer getPaperSum();

    // 获取模板总数
    Integer getTemplateSum();

    // 获取通过总数
    Integer getPassSum();

    // 获取活跃用户总数
    Integer getActiveUsersSum();

    HomeOverviewVO getHomeOverview();

//获取以专业为组的每个学生的论文评分分布情况
    List<HomeEveryStudentScoreVo> getPaperScoreDistribution();
//获取每个专业论文总分分布区间的学生数量
    List<HomeScoreStudentSumVO> getAdminHomeScoreStudentSum();


}
